/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.sevenpriciples.ocp.conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.sevenpriciples.ocp.ocp.compliance.Home;
import za.ac.cput.sevenpriciples.ocp.ocp.compliance.impl.LowDensityHouseImp;
import za.ac.cput.sevenpriciples.ocp.ocp.compliance.impl.NewLowDensityHouseImp;
import za.ac.cput.sevenpriciples.ocp.ocp.violation.impl.LowDensityHouseImpl;
import za.ac.cput.sevenpriciples.ocp.ocp.violation.impl.NewLowDensityHouseImpl;

/**
 *
 * @author 210227257
 */
@Configurable
public class AppConfig {
    @Bean(name = "lowHouse")
    public LowDensityHouseImpl lowDensityHouse(){
        return new LowDensityHouseImpl();
    }
    
    @Bean(name = "newLowHouse")
    public NewLowDensityHouseImpl newLowDensityHouse(){
        return new NewLowDensityHouseImpl();
    }
    
    @Bean(name = "lowHome")
    public Home home(){
        return new LowDensityHouseImp();
    }
    
    @Bean(name = "newLowHome")
    public Home newHome(){
        return new NewLowDensityHouseImp();
    }
}
